.hide {
  display: none;
}

.tac {
  text-align: center;
}

.tal {
  text-align: left;
}

.tar {
  text-align: right;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.fn {
  float: none;
}

.clear {
  clear: both;
}

.abs {
  position: absolute;
}

.rel {
  position: relative;
}

.bold {
  font-weight: bold;
}

.rounded-corners (@radius: 5px) {
  -webkit-border-radius: @radius;
  -moz-border-radius: @radius;
  -ms-border-radius: @radius;
  -o-border-radius: @radius;
  border-radius: @radius;
}

* {
  margin: 0;
  padding: 0;
}

input, textarea {
  box-sizing: border-box;
}

div {
  box-sizing: border-box;
}

.animation(@speed: .5s) {
  -webkit-transition-property: all;
  -webkit-transition-duration: @speed;
  -webkit-transition-timing-function: ease;
  -webkit-transition-delay: 0s;
}

.noanimation {
  -webkit-transition: none !important;
}

.text-shadow(@color:#000) {
  text-shadow: 0 1px 0 @color;
}

.text-glow(@radius:5px,@color:#000) {
  text-shadow: 0 0 @radius @color;
}

.box-shadow(@radius:1px,@color:#000) {
  box-shadow: 0 @radius 0 @color;
}

.box-glow(@radius:10px,@color:#000) {
  box-shadow: 0 0 @radius @color;
}

.w1 {
  width: 10%;
}

.w2 {
  width: 20%;
}

.w3 {
  width: 30%;
}

.w4 {
  width: 40%;
}

.w5 {
  width: 50%;
}

.w6 {
  width: 60%;
}

.w7 {
  width: 70%;
}

.w8 {
  width: 80%;
}

.w9 {
  width: 90%;
}

.w10 {
  width: 100%;
}

.scrollStyle(@size:10px,@thumbColor:#fff,@trackColor:#000) {
  ::-webkit-scrollbar {
    width: @size;
    height: @size;
  }

  ::-webkit-scrollbar-thumb {
    background: @thumbColor;
  }

  ::-webkit-scrollbar-track {
    //border-radius: 3px;
    background: @trackColor;
  }
}

.nosel {
  pointer-events: none;
  user-select: none;
}

.cansel {
  pointer-events: all;
  user-select: auto;
}

.scroll {
  overflow: auto;
}

.scrollX {
  overflow: hidden;
  overflow-x: auto;
}

.scrollY {
  overflow: hidden;
  overflow-y: auto;
}

.fullSize(@left:0,@top:0,@right:0,@bottom:0) {
  .abs;
  left: @left;
  top: @top;
  right: @right;
  bottom: @bottom;
}
img {
  border: none;
}